using XDQ.VAT.Students.Dtos;
using XDQ.VAT.Web.Pages.Students.AppStudent.ViewModels;
using XDQ.VAT.Classes.Dtos;
using XDQ.VAT.Web.Pages.Classes.AppClass.ViewModels;
using XDQ.VAT.Courses.Dtos;
using XDQ.VAT.Web.Pages.Courses.AppCourse.ViewModels;
using XDQ.VAT.Exams.Dtos;
using XDQ.VAT.Web.Pages.Exams.AppExam.ViewModels;
using AutoMapper;

namespace XDQ.VAT.Web
{
    public class VATWebAutoMapperProfile : Profile
    {
        public VATWebAutoMapperProfile()
        {
            //Define your AutoMapper configuration here for the Web project.
            CreateMap<AppStudentDto, CreateEditAppStudentViewModel>();
            CreateMap<CreateEditAppStudentViewModel, CreateUpdateAppStudentDto>();
            CreateMap<AppClassDto, CreateEditAppClassViewModel>();
            CreateMap<CreateEditAppClassViewModel, CreateUpdateAppClassDto>();
            CreateMap<AppCourseDto, CreateEditAppCourseViewModel>();
            CreateMap<CreateEditAppCourseViewModel, CreateUpdateAppCourseDto>();
            CreateMap<AppExamDto, CreateEditAppExamViewModel>();
            CreateMap<CreateEditAppExamViewModel, CreateUpdateAppExamDto>();
        }
    }
}
